<?php
error_reporting(E_ALL);


$string = "{'shoppingLists': [{'ShoppingList': {'id': '51','name': 'loool','created': '2014-03-22 13:03:22','modified': '2014-03-22 13:03:22'},'ShoppingItem': [{'id': '24','shopping_item_category_id': '19','name': 'Biscuits','description': '','created': '2014-02-05 17:43:45','category_name': 'Confiseries \/ Gouters'},{'id': '25','shopping_item_category_id': '19','name': 'Snickers','description': '','created': '2014-02-05 17:44:08','modified': '2014-02-05 17:44:08','category_name': 'Confiseries \/ Gouters'},{'id': '26','shopping_item_category_id': '19','name': 'C\u00e9reales','description': '','created': '2014-02-05 17:44:57','modified': '2014-02-05 17:44:57','category_name': 'Confiseries \/ Gouters'}]}]}";

header('Content-type: application/json');
echo json_encode($string);

?>

